package com.cci.kangdao.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
import java.util.Map;


@MapperScan
public interface UserGroupHasRoleDao {


    @Select("select * from UserGroupHasRole_T where Flag = 0 and RoleId = #{roleId} and UserGroupId = #{userGroupId}")
    Map<String,Object> getUserGroupHasRole(@Param("roleId")long roleId,@Param("userGroupId")long userGroupId);
}
